package com.uwlaser.service;

import com.uwlaser.domain.RequestParam;
import com.uwlaser.service.dto.*;

import java.util.List;

/**
* @author zk-Qin
* @date 2022-05-11
*/
public interface CraftService {

    static final String CACHE_KEY = "craftService";

    /**
     * 获取配方信息
     * @param requestParam
     * @return
     */
    GetRecipeInfoResult getRecipeInfo(RequestParam<GetRecipeInfoParam> requestParam);

    /**
     * 扫码校验
     * @param requestParam
     * @return
     */
    ScanCodeCheckResult scanCodeCheck(RequestParam<ScanCodeCheckParam> requestParam);

    /**
     * 扫码校验多个
     * @param requestParam
     * @return
     */
    List<ScanCodeCheckBatchResult> scanCodeCheckBatch(RequestParam<ScanCodeCheckBatchParam> requestParam);
}
